package com.type;

public class TypeDemo1 {
    public static void main(String[] args) {
        //理解自动类型转换:小到大直接转换
        byte a = 15;
        int b = a;
        System.out.println(a);
        System.out.println(b);

        int age = 77;
        double e = age;

        char ch = 'a'; //00000000 01100001
        int code = ch; //00000000 00000000 00000000 01100001
        System.out.println(code);
    }
}
